#ifndef TESTPLUGIN_H_
#define TESTPLUGIN_H_
#include "twcore/IPlugin.h"
#include "twcore/IContext.h"
#include <QFrame>

namespace Test
{
	class TestPlugin: public TWCore::IPlugin
	{
		Q_DISABLE_COPY(TestPlugin)
		public:
			TestPlugin();
			virtual ~TestPlugin();

			TWCore::IContext* createNewContext();
			TWCore::IContext* createContext(const QByteArray& info);
			void deleteContext(TWCore::IContext* content){delete content;}
			void unloadContext(TWCore::IContext* content){delete content;}
	};
}
#endif /* TESTPLUGIN_H_ */
